package instanceOf;

public class Bird extends Animal implements Flying,Running{
	public Bird(String name,int age) {
		super(name,age);
	}

	@Override
	public void eat() {
		System.out.println(name +"在吃饭");
	}

	@Override
	public void fly() {
		System.out.println(name+"正在飞");
	}

	@Override
	public void run() {
		System.out.println(name + "正在跑");
	}

}
